//
//  YoungAllData.h
//  DA_V
//
//  Created by 周季阳 on 15/5/13.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol YoungDelegate <NSObject>

@optional

-(void)info:(NSDictionary *)sign;//信息接口返回

-(void)infoDetails:(NSDictionary *)sign;//信息详情返回

-(void)userInfo:(NSDictionary *)sign;//微商账户信息返回

-(void)isUpgrade:(NSDictionary *)sign;//是否有申请升级的机会返回

-(void)withdraw:(NSDictionary *)sign;//提现返回

-(void)withdrawRecord:(NSDictionary *)sign;//提现记录返回
-(void)shanglaRecord:(NSDictionary *)sign;//提现记录上拉加载返回

-(void)updataPassword:(NSDictionary *)sign;//修改密码返回

-(void)productWarning:(NSDictionary *)sign;//缺货报警返回

-(void)productStock:(NSDictionary *)sign;//商品库存返回

-(void)train:(NSDictionary *)sign;//培训列表返回

-(void)trainDetails:(NSDictionary *)sign;//培训内容返回

-(void)getType:(NSDictionary *)sign;//商品类型返回

-(void)promotion:(NSDictionary *)sign;//推广素材


-(void)children:(NSDictionary *)sign;//下线管理

-(void)childrenDetails:(NSDictionary *)sign;//微商下线明细

-(void)upgrade:(NSDictionary *)sign;//升级申请

-(void)province:(NSDictionary *)sign;//省
-(void)city:(NSDictionary *)sign;//市
-(void)country:(NSDictionary *)sign;//区
-(void)recommend:(NSDictionary *)sign;//推荐新微商

-(void)goodsList:(NSDictionary *)sign;//商品列表

-(void)images:(NSDictionary *)sign;//图片素材

-(void)apply:(NSDictionary *)sign;//发起升级申请

-(void)verify:(NSDictionary *)sign;//审核升级申请

-(void)promotionDetail:(NSDictionary *)sign;//推广素材详情

-(void)authority:(NSDictionary *)sign;//授权书

-(void)grade:(NSDictionary *)sign;//等级制度

-(void)upgradeNow:(NSDictionary *)sign;//直接升级

-(void)price:(NSDictionary *)sign;//商品价格列表

-(void)qrcode:(NSDictionary *)sign;//二维码

-(void)bankProvince:(NSDictionary *)sign;//银行省

-(void)bankCity:(NSDictionary *)sign;//银行市

-(void)bankList:(NSDictionary *)sign;//获取银行列表
-(void)bind:(NSDictionary *)sign;//绑定银行卡
-(void)checkBank:(NSDictionary *)sign;//检查银行卡
-(void)tiXian:(NSDictionary *)sign;//提现说明
-(void)ziDongBuHuo:(NSDictionary *)sign;//自动补货

- (void)requistFailGeRen;
//获取失败
-(void)requistFail;
//获取错误
-(void)requistError;


-(void)getID5:(NSDictionary *)sign;//实名认证
-(void)shiAll:(NSDictionary *)sign;//设置交易密码
-(void)checktrade:(NSDictionary *)sign;//判断交易密码是否正确
-(void)modifytrade:(NSDictionary *)sign;//修改交易密码
-(void)payOff:(NSDictionary *)sign;//结算物流费用
-(void)userProtocol:(NSDictionary *)sign;//用户协议
-(void)baoZhengPay:(NSDictionary *)sign;//结算保证金
-(void)WuLiuPay:(NSDictionary *)sign;//结算全部物流费用
-(void)WuLiuZhangDan:(NSDictionary *)sign;//物流费用账单列表
@end

@interface YoungAllData : NSObject

@property(nonatomic,retain)id<YoungDelegate>delegate;
//获取信息列表
-(void)gainInfo:(NSString *)AgentID andPageID:(NSString *)PageID andPerPage:(NSString *)PerPage;
//获取信息详情
-(void)gainInfoDetails:(NSString *)AgentID andNoticeID:(NSString *)NoticeID;
//微商账户信息
-(void)gainUserInfo:(NSString *)AgentID;
//是否有申请升级的机会
-(void)isUpgrade:(NSString *)AgentID;
//提现
-(void)goWithdraw:(NSString *)AgentID andAmount:(NSString *)Amount andTradePass:(NSString *)TradePass;
//提现记录
-(void)gainWithdrawRecord:(NSString *)AgentID andPageID:(NSString *)PageID andPerPage:(NSString *)PerPage andStartTime:(NSString *)StartTime andEndTime:(NSString *)EndTime;
//修改密码
-(void)updataPassword:(NSString *)AgentID andLoginPass:(NSString *)LoginPass andNewLoginPass:(NSString *)NewLoginPass andReLoginPass:(NSString *)ReLoginPass;
//缺货报警
-(void)productWarning:(NSString *)AgentID;
//商品库存
-(void)productStock:(NSString *)AgentID andCategoryID:(NSString *)CategoryID;
//培训列表
-(void)gainTrain:(NSString *)PageID andPerPage:(NSString *)PerPage;
//培训内容
-(void)gainTrainDetails:(NSString *)CourseID;
//获取商品类型
-(void)gainGetType;
//获取推广素材
-(void)gainPromotion:(NSString *)ProductID andPageID:(NSString *)PageID andPerPage:(NSString *)PerPage;
//下线管理
-(void)gainChildren:(NSString *)AgentID andLevel:(NSString *)Level andSearchKey:(NSString *)SearchKey andSearchValue:(NSString *)SearchValue andSortKey:(NSString *)SortKey andSortValue:(NSString *)SortValue andPage:(NSString *)Page andPerPage:(NSString *)PerPage;
//微商下线明细
-(void)gainChildrenDetails:(NSString *)AgentID;
//升级申请
-(void)gainUpgrade:(NSString *)AgentID;
//获取省
-(void)gainProvince;
//获取市
-(void)gainCity:(NSString *)ProvinceID;
//获取区
-(void)gainCountry:(NSString *)CityID;
//推荐新微商
-(void)gainRecommend:(NSString *)AgentID andRealName:(NSString *)RealName andMobileNumber:(NSString *)MobileNumber andLoginPass:(NSString *)LoginPass andProvinceID:(NSString *)ProvinceID andCityID:(NSString *)CityID andCountyID:(NSString *)CountyID andAddress:(NSString *)Address andLevelID:(NSString *)LevelID andWeChat:(NSString *)WeChat;
//获取商品列表
-(void)gainGoodsList:(NSString *)CategoryID andPageID:(NSString *)PageID andPerPage:(NSString *)PerPage andSearch:(NSString *)Search andAgentID:(NSString *)AgentID;
//获取图片素材
-(void)gainImage:(NSString *)ProductID andPageID:(NSString *)PageID andPerPage:(NSString *)PerPage;
//发起升级申请
-(void)sendApply:(NSString *)AgentID;
//审核升级申请
-(void)sendVerify:(NSString *)AgentID andChildAgentID:(NSString *)ChildAgentID andVerifyResult:(NSString *)VerifyResult andVerifyReason:(NSString *)VerifyReason;
//获取推广素材详情
-(void)gainPromotionDetails:(NSString *)ArticleID;
//获取授权书
-(void)gainAuthority:(NSString *)AgentID;
//获取等级制度
-(void)gainGrade;
//直接升级
-(void)upgradeNow:(NSString *)AgentID andChildAgentID:(NSString *)ChildAgentID;
//获取商品价格
-(void)gainPrice:(NSString *)AgentID;
//获取二维码
-(void)gainQrcode:(NSString *)AgentID andLevelID:(NSString *)LevelID;
//获取银行卡省
-(void)gainBackProvince;
//获取银行卡市
-(void)gainBackCity:(NSString *)ProvinceID;
//获取银行列表
-(void)gainBankList:(NSString *)IsBoss;
//绑定银行卡
-(void)binding:(NSString *)AgentID andBankID:(NSString *)BankID andBankBranch:(NSString *)BankBranch  andCardNumber:(NSString *)CardNumber andProvinceID:(NSString *)ProvinceID andCityID:(NSString *)CityID merOrderId:(NSString *)merOrderId phoneNo:(NSString *)phoneNo phoneToken:(NSString *)phoneToken mobileNumber:(NSString *)phoneNum code:(NSString *)code;
//检查银行卡
-(void)checkBank:(NSString *)AgentID;
//提现说明
-(void)tiXian;
//自动补货说明
-(void)ziDongBuHuo;
//获取实名认证
-(void)getID5:(NSString *)AgentID;
//设置实名密码
-(void)shiAll:(NSString *)AgentID andRealName:(NSString *)RealName andCertificateNumber:(NSString *)CertificateNumber andTradePass:(NSString *)TradePass andReTradePass:(NSString *)ReTradePass;
//判断交易密码是否正确
-(void)checkTrade:(NSString *)AgentID andTradePass:(NSString *)TradePass;
//修改交易密码
-(void)modifyTrade:(NSString *)AgentID andOldTradePass:(NSString *)OldTradePass andNewTradePass:(NSString *)NewTradePass andReNewTradePass:(NSString *)ReNewTradePass;
//结算物流费用
-(void)payOff:(NSString *)AgentID andTradePass:(NSString *)TradePass andIsUserBalance:(NSString *)IsUseBalance;
//用户协议
-(void)userProtocol;
//结算保证金
-(void)baoZhengJinJie:(NSString *)AgentID andTradePass:(NSString *)TradePass;
//结算物流费用
-(void)wuLiuFeiJie:(NSString *)AgentID andTradePass:(NSString *)TradePass;
//物流费用账单列表
-(void)wuLiuFeiZhangDan:(NSString *)AgentID;
@end
